<?php
namespace App\Services\Core\Store\Heiniu;
use Prophecy\Exception\Exception;
/**
 *
 * 黑牛保险
 *
 */
class HeiniuService
{
    public static function httpost($url)
    {

        $ch = curl_init();

        curl_setopt($ch, CURLOPT_URL, $url);

        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

        curl_setopt($ch, CURLOPT_HEADER, 0);

        $output = curl_exec($ch);

        curl_close($ch);

        return $output;
    }
}
